//
//  Person.m
//  runTime(动态决议和消息在换发)
//
//  Created by macOS on 2017/4/21.
//  Copyright © 2017年 macOS. All rights reserved.
//

#import "Person.h"

@implementation Person



- (NSMutableArray *)delegateArray{
    if (!_delegateArray) {
        _delegateArray = [NSMutableArray array];
    }
    return _delegateArray;
}

- (void)testDelegate{
  
    if (self.delegate &&  [self.delegate respondsToSelector:@selector(run:)]) {
        [self.delegate run:self];
    }

}

@end
